export const dynamicFormDemoConfig = {
    _style: {
        columns: 3,
        isUpdate: 0,
        submitButtonName: '增加',
        hasCleanButton: 1,
        hasCancelButton: 1,
        tightLayout: true,
        style: 'margin: 1px 1px 1px 1px;border:1px solid #DCDFE6;border-radius:2px'
    },
    _items: [{
        key: 'tellerNo',
        text: '工号',
        type: 'textarea',
        isKey: 1,
        change: 'testChange',
        disabled: 1
    }, {
        key: 'password',
        text: '员工密码',
        type: 'password'
    }, {
        key: 'branchNo',
        text: '员工机构号',
        type: 'input',
        groupNo: 1
    }, {
        key: 'city',
        text: '城市级联',
        type: 'cascader',
        options: [
            {
                'value': 'A',
                'label': '前端日志',
                'children': [
                    {
                        'value': 'A1',
                        'label': '应用日志'
                    },
                    {
                        'value': 'A2',
                        'label': '应用流程日志'
                    },
                    {
                        'value': 'A3',
                        'label': '应用接口错误日志'
                    },
                    {
                        'value': 'A4',
                        'label': '页面日志'
                    }
                ]
            },
            {
                'value': 'B',
                'label': '中间件日志',
                'children': [
                    {
                        'value': 'B1',
                        'label': '中间件设备服务层日志'
                    }, {
                        'value': 'B2',
                        'label': '浏览器日志'
                    }
                ]
            },
            {
                'value': 'C',
                'label': 'SP日志',
                'children': [
                    {
                        'value': 'C1',
                        'label': '读卡器'
                    }, {
                        'value': 'C2',
                        'label': '摄像头'
                    }, {
                        'value': 'C3',
                        'label': '人脸摄像头'
                    }, {
                        'value': 'C4',
                        'label': '签字版'
                    }, {
                        'value': 'C5',
                        'label': '身份证读卡器'
                    }, {
                        'value': 'C6',
                        'label': '激光打印机'
                    }, {
                        'value': 'C7',
                        'label': '凭条打印机'
                    }, {
                        'value': 'C8',
                        'label': 'siu'
                    }, {
                        'value': 'C9',
                        'label': '文件服务'
                    }, {
                        'value': 'C10',
                        'label': '数据库'
                    }
                ]
            }
        ],
        props: { multiple: true }
    }, {
        key: 'exchange',
        text: '交易所读取',
        type: 'multiple',
        lazy: 1,
        tranCode: 'queryExchange',
        groupNo: 1
    }, {
        key: 'customizeDemo',
        text: 'I am demo',
        type: 'customize',
        slotName: 'VerificationCode',
        width: 350,
        columns: 1
    }, {
        key: 'datetimeRange',
        text: '时间范围',
        type: 'date-range'
    }, {
        key: 'datetime',
        text: '时间日期',
        type: 'date'
    }, {
        key: 'condition1',
        text: '查询条件1',
        type: 'select',
        options: [{
            value: 'test1',
            label: '员工11号',
            department: 'A部门',
            exchange: '00',
            branchNo: '0001',
            condition3: 'xx1'
        }, {
            value: 'test2',
            label: '员工12号',
            department: 'A部门',
            exchange: '00',
            branchNo: '0002',
            condition3: 'xx1'
        }, {
            value: 'test3',
            label: '员工21号',
            department: 'B部门',
            exchange: '01',
            test0: 'any',
            branchNo: '0003',
            condition3: 'xx2'
        }, {
            value: 'test4',
            label: '员工22号',
            department: 'B部门',
            exchange: '01',
            test0: 'any',
            branchNo: '0004',
            condition3: 'xx2'
        }],
        options_item: [{
            name: 'label'
        }, {
            name: 'realName'
        }, {
            name: 'department'
        }],
        groupNo: 1
    },
    {
        key: 'condition2',
        text: '查询条件2',
        type: 'radio',
        options: [{
            text: '测试1',
            value: 'xx1'
        }, {
            text: '测试2',
            value: 'xx2'
        }, {
            text: '测试3',
            value: 'xx3'
        }]
    },
    {
        key: 'condition3',
        text: '查询条件23',
        type: 'checkbox',
        options: [{
            label: '测试1',
            value: 'xx1'
        }, {
            label: '测试2',
            value: 'xx2'
        }],
        groupNo: 1
    },
    {
        key: 'upgradeFile',
        text: '选择文件',
        type: 'upload',
        columns: 1,
        handleUploadSuccess: 'uploadSuccess',
        accept: '.jpg,.txt,.pptx'
    }
    ],
    _rules: {},
    _rulesName: {
        tellerNo: ['tellerNoRule'],
        password: ['passwordRule'],
        branchNo: ['branchNoRule']
    }
}

